package com.bjsxt.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * @author ALIENWARE
 * @version v1.0.0
 * @package : com.bjsxt.model
 * @description :
 * 极验传递的验证码数据的封装视图层对象
 * @create on : 12/21/2023
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "极验验证码传输类")
public class GeetestCodeVo {
    /**
     * 响应码
     */
    @ApiModelProperty(value = "响应码")
    private Byte success;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    @JsonProperty("new_captcha")
    private boolean newCaptcha;

    /**
     * challenge
     */
    @ApiModelProperty(value = "challenge")
    private String challenge;

    /**
     * gt
     */
    @ApiModelProperty(value = "gt")
    private String gt;
}
